package com.niiwoo.civet.trade.dto.response;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 还款结果
 * @author wangjun
 */
@Getter
@Setter
@ToString
public class RefundResponseDTO implements Serializable
{
    private static final long serialVersionUID = -2986128886380786362L;
    private BigDecimal repaidAmount;//本次还款实还金额
    private BigDecimal needRepayAmount;//本次还款剩余未还金额
    private String title;
    private Integer currentPeriod;
    private Integer totalPeriod;
    private Date nextRefundDate;
    private Byte code;//3-还款成功，1-处理中，2-失败
    private String message;

    private String repaymentSuccessDTO;
}
